I have imported the content of an external tool in a new module (through Excel import). In this external tool, the requirement IDs were of the same format as the DOORS Object Number (= section number), and I must keep that same ID in DOORS. |
Re: Using Object Number as unique ID If it is no problem to you to use requirement numbers of a different format for the requirements you will be adding in DOORS I suggest you simply copy the requirement numbers to an attribute called "Manual ID" and then use a dxl attribute, which uses the manual id if it is present, otherwise the module prefix and the absolute number. If this is no way to go, you could:
I don't know a way to freeze the object position, so I guess this might be the only choice you have, if you don't want to use requirement numbers with a different format for the newly created requirements (which I would really really recommend->the object number is no good format anyway, what about a prefix? ). Hope this helps, Regards, Mathias Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS |
Re: Using Object Number as unique ID
Your external tool creates Requirement IDs that look like this: 3.2.1.0-2? That's the 2nd text object under 3.2.1. Perhaps each of your requiremrents has a Heading associated with it, in which case the paragraph numbers can look good, 3.2.1.2.
filtering off
for obj in (current Module) do
{ ReqID = obj."MyImportedRequirementID"
ParNum = number(obj)
if (ReqID != ParaNum)
{ print identifier(obj) "\t" ParaNum "\t[" ReqID "]\n"
accept(obj)
}
else reject(obj)
}
filtering on
|
Re: Using Object Number as unique ID |